//
//  TaskGuiJiModel.h
//  LogisticsSupplier
//
//  Created by 吕晶 on 2021/4/8.
//  Copyright © 2021 吕晶. All rights reserved.
//

#import <Foundation/Foundation.h>
@class TaskGuiJiOrderModel;
@class TaskGuiJiOrderStatusModel;
@class TaskGuiJiOrderSheBeiPointModel;

NS_ASSUME_NONNULL_BEGIN

@interface TaskGuiJiModel : NSObject

@property (nonatomic, copy) NSString *Id;//任务单id
@property (nonatomic, copy) NSString *sta_num;//任务单号
@property (nonatomic, copy) NSString *source;//来源 1：提货计划 2：操作单
@property (nonatomic, copy) NSString *dp_ids;//提单id
@property (nonatomic, copy) NSString *wa_ids;//运单id
@property (nonatomic, strong) NSArray <TaskGuiJiOrderModel *>*list;//任务单明细（提单/运单）

@end

@interface TaskGuiJiOrderModel : NSObject

@property (nonatomic, copy) NSString *dp_id;//提单/运单id
@property (nonatomic, copy) NSString *serial_num;//提单/运单号
@property (nonatomic, copy) NSString *status;//当前状态id
@property (nonatomic, copy) NSString *s_province;//出发省
@property (nonatomic, copy) NSString *s_city;//出发城市
@property (nonatomic, copy) NSString *s_town;//出发区
@property (nonatomic, copy) NSString *s_lng;//出发城市经度
@property (nonatomic, copy) NSString *s_lat;//出发城市纬度
@property (nonatomic, copy) NSString *r_province;//到达省
@property (nonatomic, copy) NSString *r_city;//到达城市
@property (nonatomic, copy) NSString *r_town;//到达区
@property (nonatomic, copy) NSString *r_lng;//到达城市经度
@property (nonatomic, copy) NSString *r_lat;//到达城市纬度
@property (nonatomic, copy) NSString *driver_lng;//司机实时经度
@property (nonatomic, copy) NSString *driver_lat;//司机实时纬度
@property (nonatomic, copy) NSString *goodsNum;//货物数量
@property (nonatomic, copy) NSString *goodsJnum;//货物件数
@property (nonatomic, copy) NSString *allWeight;//货物重量
@property (nonatomic, copy) NSString *allVolume;//货物体积
@property (nonatomic, strong) NSArray <TaskGuiJiOrderStatusModel *>*time_status;//详情时间
@property (nonatomic, assign) int equipment_id;//设备ID
@property (nonatomic, copy) NSString *equipment_starttime;//

@end

@interface TaskGuiJiOrderStatusModel : NSObject

@property (nonatomic, copy) NSString *value;//时间名称
@property (nonatomic, assign) BOOL selected;//是否是当前状态 true：当前状态 false：不是当前状态
@property (nonatomic, copy) NSString *time;//具体时间
@property (nonatomic, assign) BOOL isFirst;//
@property (nonatomic, assign) BOOL isLast;//

@end

@interface TaskGuiJiOrderSheBeiPointModel : NSObject

@property (nonatomic, copy) NSString *lng;//经度
@property (nonatomic, copy) NSString *lat;//纬度
@property (nonatomic, copy) NSString *createtime;//
@property (nonatomic, copy) NSString *address;//
@property (nonatomic, assign) int type;//是否为起始地或终点地，1 起始， 2 终点

@end

NS_ASSUME_NONNULL_END
